package com.li.mapper;

import com.li.pojo.Card;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface CardMapper {
  //获取打卡总数
  int getCardTotal(Map<String,Object> queryMap);
  
  //查看未打卡
  int getCardTotalno(Map<String,Object> queryMap);
  
  //获取所有打卡
  List<Card> findCardList(Map<String,Object> queryMap);
  
  List<Card> findCardListno(Map<String,Object> queryMap);

  
  Integer updateById(@Param("card") Card ba);
  
  
}
